package com.cqwshzj.framework.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cqwshzj.common.column.JobErrRptColumn;

import java.io.Serializable;

/**
 * null
 * @TableName job_err_rpt
 */
@TableName(value ="job_err_rpt")
public class JobErrRpt implements Serializable {
    /**
     * 
     */
    @TableId(value="id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(JobErrRptColumn.OCCURDATE)
    private String occurdate;

    /**
     * 
     */
    @TableField(JobErrRptColumn.JOB_ID)
    private String jobId;

    /**
     * 
     */
    @TableField(JobErrRptColumn.STRT_ID)
    private Integer strtId;

    /**
     * 
     */
    @TableField(JobErrRptColumn.JOB_TYPE)
    private Integer jobType;

    /**
     * 
     */
    @TableField(JobErrRptColumn.JOB_STATE)
    private String jobState;

    /**
     * 
     */
    @TableField(JobErrRptColumn.MESSAGE)
    private String message;

    /**
     * 
     */
    @TableField(JobErrRptColumn.EXCEPTION)
    private String exception;

    /**
     * 
     */
    @TableField(JobErrRptColumn.CRT_TIME)
    private String crtTime;

    /**
     * 
     */
    @TableField(JobErrRptColumn.STATUS)
    private String status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public JobErrRpt() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOccurdate() {
        return occurdate;
    }

    public void setOccurdate(String occurdate) {
        this.occurdate = occurdate;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public Integer getStrtId() {
        return strtId;
    }

    public void setStrtId(Integer strtId) {
        this.strtId = strtId;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    public String getJobState() {
        return jobState;
    }

    public void setJobState(String jobState) {
        this.jobState = jobState;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    public String getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(String crtTime) {
        this.crtTime = crtTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "JobErrRpt{" +
                "id=" + id +
                ", occurdate='" + occurdate + '\'' +
                ", jobId='" + jobId + '\'' +
                ", strtId=" + strtId +
                ", jobType=" + jobType +
                ", jobState='" + jobState + '\'' +
                ", message='" + message + '\'' +
                ", exception='" + exception + '\'' +
                ", crtTime='" + crtTime + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}